package com.qiaofang.applet.service.member.domain;

import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

@Data
@Document(collection = "member_member")
@ApiModel("会员表")
@NoArgsConstructor
public class Member extends BaseDomain {

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("手机号")
    private String mobilePhone;

    @ApiModelProperty("真实姓名")
    private String realName;

    @ApiModelProperty("身份证")
    private String idCard;

    @ApiModelProperty("性别: 女/男")
    private String gender;

    @ApiModelProperty("注册时间")
    private Date registerTime;

    @ApiModelProperty("最后登录时间")
    private Date lastLoginTime;

    @ApiModelProperty("会员城市名")
    private String memberCityName;

    @ApiModelProperty("来源: 1:移动端 2:WEB端")
    private Integer source;

    @ApiModelProperty("来源: 移动端/WEB端")
    private String sourceName;

    @ApiModelProperty("会员类型: 1:普通用户 2:经纪人")
    private Integer memberType;

    @ApiModelProperty("会员类型: 普通用户/经纪人")
    private String memberTypeName;

    @ApiModelProperty("经纪人uuid")
    private String employeeUniqueUuid;

    @ApiModelProperty("微信openid")
    private String openid;

    @ApiModelProperty("用户的头像url")
    private String headPortrait;

    @ApiModelProperty("房源唯一UUID")
    private List<String> propertyUniqueUuid;


}
